home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / dviware / dvibook / Imake.Config < prev    next >
Text File  |  1994-03-18  |  6KB  |  206 lines

  1. /* * Install directories for programs not related to X */
  2.  
  3. TEX_BINDIR = /srl/TeX/bin
  4. TEX_MANDIR = /srl/TeX/man/man1
  5. TEX_INPUTS = /srl/TeX/lib/tex/inputs
  6.  
  7. /*
  8.  *    Set `FONTDESC' to the location of your fontdesc file, unquoted.
  9.  *    This is passed to the library routines so they can find it.
  10.  */
  11.  
  12. FontDesc= /srl/TeX/lib/tex/fontdesc
  13.  
  14. IprBin=/usr/local/bin
  15.  
  16. /***********************************************************************
  17.  *    Config options for Xtex:
  18.  */
  19.  
  20. /*
  21.  * Options in the Xtex.ad file enabled by #ifdef's.
  22.  *
  23.  * Possibilities include:
  24.  *    -DCOLOR_BUTTONS
  25.  */
  26. XTEX_IFDEF_OPTIONS=
  27.  
  28. /*
  29.  * XTEX_TFM_PATH is a colon seperated list of directories that
  30.  * might contains TFM files; these are used by xtex to determine
  31.  * true font widths.
  32.  */
  33.  
  34. XTEX_TFM_PATH=.:/srl/TeX/lib/tex/fonts:/usr/local/lib/tex82/fonts:/usr/local/lib/tex/fonts:/usr/lib/tex82/fonts:/usr/lib/tex/fonts:/usr/local/lib/tex/tfm:/usr/local/Tex/lib/tex/tfm
  35.  
  36. /*    XtexFontPath is a comma/colon seperated list of directories that
  37.  *    commonly contain X fonts for XTeX. If you specify your directory(-ies)
  38.  *    here when you install XTeX, you avoid having to explain to users
  39.  *    what needs to be done. You may need to #ifdef-configure this
  40.  *    based on architecture. I don't use this, so it's commented out.
  41.  */
  42.  
  43. XTEX_FONT_PATH=/srl/TeX.xtex
  44. /***********************************************************************
  45.  *    Automatic font creation: Morry Katz (katz@cs.stanford.edu) added this.
  46.  *
  47.  *    If a font is not found, a shell script (TeXtoXfont) is executed.
  48.  *    This will attempt to build the font from scratch, using Metafont.
  49.  *    The font will be installed in a certain directory, after which the
  50.  *    server should be able to find it.
  51.  *
  52.  * Comand to build fonts:
  53.  *    %n will be replaced by the font name
  54.  *    %d will be replaced by the dpi
  55.  *    %b will be replaced by the base dpi of the display device
  56.  *    %m will be replaced by the magnification
  57.  * For a server and client on the same machine the following is recommended:
  58.  *   Xtex*.makeFont:TeXtoXfont %n %d %b %m MODE FONTCACHEDIR
  59.  *    MODE should be replaced by the metafont mode_def for the server's
  60.  *        display
  61.  *    FONTCACHEDIR should be replaced by the directory in which the .bdf 
  62.  *        and/or .snf font files which are built should be stored (this 
  63.  *        directory must be in the server's font search path for correct
  64.  *        operation).
  65.  * For execution when the client is on a different machine than the server 
  66.  * the following is recommended (note that TeXtoXfont and mftodbf must exist 
  67.  * on the server):
  68.  *   Xtex*.makeFont:rsh SERVER -l USER TeXtoXfont %n %d %b %m MODE FONTCACHEDIR
  69.  *      SERVER should be replaced by the name of the X server.
  70.  *      USER should be replaced by the username of the user whose account 
  71.  *        should be used to run the script.  (The clinet must have rsh access 
  72.  *        to the server for this to work.)
  73.  * In those rare cases in which the server and client are different and the 
  74.  * client knows how to build fonts for the server which the server cannot 
  75.  * build on its own the following is recommended:
  76.  *   Xtex*.makeFont:TeXtoXfont.remote %n %d %b %m MODE FONTCACHEDIR SERVER USER
  77.  *
  78.  ***********************************************************************/
  79.  
  80. XTEX_MAKE_FONT=TeXtoXfont %n %d %b %m sun $(XTEX_FONT_PATH)
  81.  
  82. /*
  83.  * X_FONT_SUFFIXES    Font file suffix for your server
  84.  * X_FONT_COMPILER    Font compiler for your server
  85.  * X_FONT_MAKE_DIR    The way you build a 'fonts.dir' or equivilent 
  86.  * X_FONT_COMPRESS    YES/NO - do you want fonts compressed?
  87.  * X_FONT_RESET        Program to reset your font path.
  88.  */
  89.  
  90. #if    defined(UltrixArchitecture)
  91.   X_FONT_SUFFIX=pcf
  92.   X_FONT_COMPILER=/usr/bin/dxfc $$BDFNAME > $$SNFNAME
  93.   X_FONT_MAKE_DIR=/usr/bin/dxmkfontdir
  94.   X_FONT_COMPRESS=YES
  95.   X_FONT_PREPEND=xset +fp 
  96.   X_FONT_RESET=xset fp rehash
  97. #else
  98. # if !defined(SunArchitecture)
  99.     X_FONT_SUFFIX=snf
  100.     X_FONT_COMPILER=bdftosnf $$BDFNAME > $$SNFNAME
  101.     X_FONT_MAKE_DIR=mkfontdir
  102.     X_FONT_COMPRESS=YES
  103.     X_FONT_PREPEND=true #xset +fp 
  104.     X_FONT_RESET=xset fp rehash
  105. # else
  106.     X_FONT_SUFFIX=fb
  107.     X_FONT_COMPILER=convertfont -o $$NAME.$$DPI $$BDFNAME
  108.     X_FONT_MAKE_DIR=bldfamily >/dev/null -f 64 -d
  109.     X_FONT_COMPRESS=NO
  110.     X_FONT_PREPEND=true    # xset +fp 
  111.     X_FONT_RESET=xset fp rehash
  112. # endif
  113. #endif
  114.  
  115. /*
  116.  *
  117.  *    DISPLAY_POSTSCRIPT
  118.  *        Set this if the client-side provides display postscript.
  119.  *        If the server does not support DPS, you just won't see
  120.  *        anything, but if you specify this & the client doesn't
  121.  *        have it, you'll get compile errors. 
  122.  *
  123.  */
  124.  
  125. /*
  126. #define DISPLAY_POSTSCRIPT
  127. */
  128.  
  129. /*
  130.  * DISPLAY_GHOSTSCRIPT
  131.  *     Set this if you are using Ghostscript to display embedded 
  132.  *     PostScript.
  133.  * 
  134.  */
  135.  
  136. #define DISPLAY_GHOSTSCRIPT
  137.  
  138. #ifdef DISPLAY_GHOSTSCRIPT
  139. /* 
  140.  * GHOST_SEARCH_PATH 
  141.  *    Should be a colon separated list of directories.
  142.  *    This is pre-pended to ghostscripts default file search path.
  143.  *    Use this to specify the location of prlog files (e.g., mac.pro). 
  144.  */
  145. GHOST_SEARCH_PATH=/srl/TeX/lib/tex82/ps    
  146. #endif
  147.  
  148. /*
  149.  *    NEWS SUPPORT -- If you have NeWS, then define NEWS
  150.  */
  151.  
  152. #if defined(SunArchitecture) && OSMajorVersion >= 4
  153. /*
  154.  *    I don't think that NEWS/OpenWindows should be the default -- if
  155.  *    you want NeWS/OpenWindows, just comment in the followingl.
  156.  */
  157.  
  158. /* #  define NEWS */
  159. #endif
  160.  
  161. /*
  162.  * SELFILE
  163.  *   Set this if you want to use Erik M. van der Poel's file selection
  164.  *   widget. This just adds a new `Browse' button; files can still be
  165.  *   be specified using the `Set Directory' and `Open' buttons.
  166.  *
  167.  */
  168. #define SELFILE
  169.  
  170. /*
  171.  * you can change this to transientShellWidgetClass if you like; however,
  172.  * the mouse cursor won't be positioned under the 'confirm' button
  173.  * automatically on the goto & print popups.
  174.  */
  175. #if 1
  176.   POPUP_WINDOW_TYPE    =overrideShellWidgetClass
  177. #else
  178.   POPUP_WINDOW_TYPE    =transientShellWidgetClass
  179. #endif
  180.  
  181. /*
  182.  * common Make macros
  183.  */
  184.      LIBTEXROOT = ../
  185.       LIBTEXSRC    = ../libtex
  186.          LIBTEX    = $(LIBTEXSRC)/libtex.a
  187.       DEPLIBTEX    = $(LIBTEX)
  188.  
  189. /*
  190.  *      Undefine GETOP if your loader complains about multiple ref's.
  191.  */
  192. #if 1
  193.   GETOPT=getopt.o
  194. #else
  195.   GETOPT=
  196. #endif
  197.  
  198. /*
  199.  *    Define STRTOL if your system does not provide strtol
  200.  */
  201. #if 0
  202.   STRTOL=strtol.o
  203. #else
  204.   STRTOL=
  205. #endif
  206.